<!doctype html>
<style>
#test {
    border: 10px solid red;
    border-top-width: 50px;
}
</style>
<p>getPropertyValue('border') should not return a value for any property that doesn't have the same value for top, left, right and bottom, even if the values that differ are implicitly set by a shorthand.
<pre id="result">
</pre>

<script>
  if (window.testRunner)
    testRunner.dumpAsText();
  var sheet = document.querySelector('style').sheet;
  var expected = '';
  var actual = sheet.cssRules[0].style.getPropertyValue('border');

if (expected == actual)
    document.getElementById('result').innerText = 'PASS';
else
    document.getElementById('result').innerText = 'FAIL: expected "' + expected + '", got "' + actual + '"';

</script>

